﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace OAWeb.Models
{
    public class DepartmentGrade
    {
        [Required(ErrorMessage = "ID是必填的")]
        public int ID { get; set; }
        [Display(Name = "部门年级名称")]
        public string Name { get; set; }
        public Department Department { get; set; }

        public int DepartmentID { get; set; }

        [Display(Name = "创建年份")]
        public DateTime CreatYear { get; set; }
        
        [Display(Name = "领导")]
        public string Leader { get; set; }
        public List<TeachingClass> TeachingClass { get; set; }
        public List<Exam> Exams { get; set; }
        public List<Course> Courses { get; set; }
    }
}